//
//  SellerMineOperationTableViewCell.m
//  SmartCoin
//
//  Created by apple on 2018/3/8.
//  Copyright © 2018年 Cynic. All rights reserved.
//

#import "SellerMineOperationTableViewCell.h"

@implementation SellerMineOperationTableViewCell
/**
 @property (nonatomic ,retain)UIButton *icon;
 @property (nonatomic ,retain)UILabel *namelabel;
 */
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    _icon = [[UIButton alloc] initWithFrame:CGRectMake(14, 18, 18, 18)];
    _icon.userInteractionEnabled = NO;
    [self.contentView addSubview:_icon];
    
    _namelabel = [[UILabel alloc] initWithFrame:CGRectMake(44, 17, 100, 21)];
    _namelabel.font = [UIFont systemFontOfSize:15];
    _namelabel.textColor = [UIColor blackColor];
    [self.contentView addSubview:_namelabel];
    
    UIView *layerView = [[UIView alloc] initWithFrame:CGRectMake(0, 53.5, cx_wid, 0.5)];
    layerView.backgroundColor = [[UIColor lightGrayColor] colorWithAlphaComponent:0.3];
    [self.contentView addSubview:layerView];
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
